<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>后台登陆界面</title>
<link href="style/authority/login_css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="scripts/jquery/jquery-1.7.1.js"></script>

</head>
<body>
	<div id="login_center">
		<div id="login_area">
			<div id="login_box">
				<div id="login_form">
					<form id="form1" name="form1" method="post">
					<!-- 上方可修改为servlet验证登陆用户名密码 -->
						<div id="login_tip">
							<span id="login_err" class="sty_txt2"></span>
						</div>
						<div>
							<font color=white>
							 用户名：
							</font>
							<input type="text" name="userEntity.userCode" class="username" id="name">
						</div>
						<div>
							<font color="white">
							密&nbsp;&nbsp;&nbsp;&nbsp;码：
							</font>
							<input type="password" name="userEntity.password" class="pwd" id="pwd" onkeypress="EnterPress(event)" onkeydown="EnterPress()">
						</div>
						<div id="btn_area">
							<button class="login_btn" onclick="document.form1.action='servlet/Logincheckservlet';document.form1.submit();">登录</button>
							<button class="login_btn" onclick="document.form1.action='Register.jsp';document.form1.submit();">注册</button>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>